import React from 'react';
function UserProfile(){
    const user = {
        name:'react123',
        age:'23',
        location:'秦皇岛'
    }
    return (
        <div>
            <h2>姓名:{user.name}</h2>
            <p>Age:{user.age}</p>
            <p>location:{user.location}</p>
        </div>
    )
}
export default UserProfile;